package com.tbit.uqbike.client.util;

import cn.hutool.extra.emoji.EmojiUtil;
import com.tbit.uqbike.client.exception.BaseException;

/**
 * @Author:BUGTian
 * @DATE: 2023/6/13
 */
public class EmojiCheckUtil {

    public static void check(String remark) {
        if (EmojiUtil.isEmoji(remark)) {
            throw new BaseException("-2015", "含特殊字符，请重新输入");
        }
    }
}
